.class Lcom/example/m6shop/PayBalanceAcivity$1;
.super Landroid/os/Handler;
.source "PayBalanceAcivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/PayBalanceAcivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/PayBalanceAcivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/PayBalanceAcivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    .line 118
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/PayBalanceAcivity$1;)Lcom/example/m6shop/PayBalanceAcivity;
    .locals 1

    .prologue
    .line 118
    iget-object v0, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 8
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 120
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 121
    iget v4, p1, Landroid/os/Message;->arg1:I

    sparse-switch v4, :sswitch_data_0

    .line 202
    :goto_0
    return-void

    .line 123
    :sswitch_0
    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    const-string v5, "nologin"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 124
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    # getter for: Lcom/example/m6shop/PayBalanceAcivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/PayBalanceAcivity;->access$0(Lcom/example/m6shop/PayBalanceAcivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u63d0\u793a\u4fe1\u606f"

    const-string v6, "\u672a\u767b\u9646"

    invoke-static {v4, v5, v6}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 126
    :cond_0
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    # getter for: Lcom/example/m6shop/PayBalanceAcivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/PayBalanceAcivity;->access$0(Lcom/example/m6shop/PayBalanceAcivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u63d0\u793a\u4fe1\u606f"

    iget-object v6, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v4, v5, v6}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 130
    :sswitch_1
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    # getter for: Lcom/example/m6shop/PayBalanceAcivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/PayBalanceAcivity;->access$0(Lcom/example/m6shop/PayBalanceAcivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u4fe1\u606f\u83b7\u53d6\u7ed3\u679c"

    const-string v6, "\u8fd4\u56de\u7ed3\u679c\u4e3a\u7a7a"

    invoke-static {v4, v5, v6}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 133
    :sswitch_2
    const-string v4, "PayBalanceACtivity"

    const-string v5, "\u91cd\u65b0\u52a0\u8f7d\u6570\u636e"

    invoke-static {v4, v5}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 134
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    iget-object v5, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/example/m6shop/PayBalanceAcivity;->initdata(Ljava/lang/String;)V

    goto :goto_0

    .line 137
    :sswitch_3
    new-instance v2, Lcom/wmr/aplipay/PayResult;

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v4, Ljava/lang/String;

    invoke-direct {v2, v4}, Lcom/wmr/aplipay/PayResult;-><init>(Ljava/lang/String;)V

    .line 144
    .local v2, "payResult":Lcom/wmr/aplipay/PayResult;
    invoke-virtual {v2}, Lcom/wmr/aplipay/PayResult;->getResultStatus()Ljava/lang/String;

    move-result-object v3

    .line 146
    .local v3, "resultStatus":Ljava/lang/String;
    const-string v4, "9000"

    invoke-static {v3, v4}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 147
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    const-string v5, "\u652f\u4ed8\u6210\u529f"

    invoke-static {v4, v5, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    .line 148
    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    .line 150
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 151
    .local v1, "intent":Landroid/content/Intent;
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-virtual {v4, v7, v1}, Lcom/example/m6shop/PayBalanceAcivity;->setResult(ILandroid/content/Intent;)V

    .line 152
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-virtual {v4}, Lcom/example/m6shop/PayBalanceAcivity;->finish()V

    goto :goto_0

    .line 160
    .end local v1    # "intent":Landroid/content/Intent;
    :cond_1
    const-string v4, "8000"

    invoke-static {v3, v4}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 161
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    const-string v5, "\u652f\u4ed8\u7ed3\u679c\u786e\u8ba4\u4e2d"

    invoke-static {v4, v5, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    .line 162
    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 166
    :cond_2
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    const-string v5, "\u652f\u4ed8\u5931\u8d25"

    invoke-static {v4, v5, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    .line 167
    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    .line 168
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 169
    .restart local v1    # "intent":Landroid/content/Intent;
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-virtual {v4, v7, v1}, Lcom/example/m6shop/PayBalanceAcivity;->setResult(ILandroid/content/Intent;)V

    .line 170
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-virtual {v4}, Lcom/example/m6shop/PayBalanceAcivity;->finish()V

    goto/16 :goto_0

    .line 175
    .end local v1    # "intent":Landroid/content/Intent;
    .end local v2    # "payResult":Lcom/wmr/aplipay/PayResult;
    .end local v3    # "resultStatus":Ljava/lang/String;
    :sswitch_4
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    iget-object v5, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/example/m6shop/PayBalanceAcivity;->acoutpayback(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 179
    :sswitch_5
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 180
    .restart local v1    # "intent":Landroid/content/Intent;
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-virtual {v4, v7, v1}, Lcom/example/m6shop/PayBalanceAcivity;->setResult(ILandroid/content/Intent;)V

    .line 181
    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-virtual {v4}, Lcom/example/m6shop/PayBalanceAcivity;->finish()V

    goto/16 :goto_0

    .line 185
    .end local v1    # "intent":Landroid/content/Intent;
    :sswitch_6
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v4, p0, Lcom/example/m6shop/PayBalanceAcivity$1;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    # getter for: Lcom/example/m6shop/PayBalanceAcivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/PayBalanceAcivity;->access$0(Lcom/example/m6shop/PayBalanceAcivity;)Landroid/content/Context;

    move-result-object v4

    invoke-direct {v0, v4}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 186
    .local v0, "builder":Landroid/app/AlertDialog$Builder;
    const-string v4, "\u63d0\u793a"

    invoke-virtual {v0, v4}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    .line 187
    const-string v4, "\u5fae\u4fe1\u652f\u4ed8\u5931\u8d25"

    invoke-virtual {v0, v4}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    .line 188
    const-string v4, "\u786e\u5b9a"

    new-instance v5, Lcom/example/m6shop/PayBalanceAcivity$1$1;

    invoke-direct {v5, p0}, Lcom/example/m6shop/PayBalanceAcivity$1$1;-><init>(Lcom/example/m6shop/PayBalanceAcivity$1;)V

    invoke-virtual {v0, v4, v5}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    .line 195
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto/16 :goto_0

    .line 121
    nop

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_0
        0x2 -> :sswitch_1
        0x3 -> :sswitch_2
        0x58 -> :sswitch_5
        0x59 -> :sswitch_6
        0x63 -> :sswitch_3
        0x64 -> :sswitch_4
    .end sparse-switch
.end method
